package cn.cymym.dao;

import java.util.List;

import cn.cymym.domain.Product;
import cn.cymym.utils.ComDao;

public class DimSelectIMpl extends ComDao<Product> implements DimSelectProduct {

	@Override
	public List<Product> dimselect(String keyword) {
		// TODO 根据用户所查看的商品查找相似的商品
		String sql = "SELECT productnumber,proname,price,imgname FROM product WHERE prodescribe LIKE ?";
		return getList(sql, "%"+keyword+"%");
	}

}
